package com.fy56.platform.logistics.model;

import com.fy56.platform.logistics.common.AbstractModel;

public class Menu extends AbstractModel {

    /**
     * 父级
     */
    private Integer parentId;

    /**
     * 父级ids
     */
    private String parentIds;

    /**
     * 菜单编码
     */
    private String menuCode;

    /**
     * 菜单名称
     */
    private String menuName;

    /**
     * 菜单URL
     */
    private String menuUrl;

    /**
     * 菜单层级
     */
    private int menuLevel;

    /**
     * 排序
     */
    private int sortNum;

    /**
     *
     * @mbggenerated 2018-02-10
     */
    public Menu(Integer parentId, String parentIds, String menuCode, String menuName, String menuUrl, int menuLevel, int sortNum) {
        this.parentId = parentId;
        this.parentIds = parentIds;
        this.menuCode = menuCode;
        this.menuName = menuName;
        this.menuUrl = menuUrl;
        this.menuLevel = menuLevel;
        this.sortNum = sortNum;
    }

    /**
     *
     * @mbggenerated 2018-02-10
     */
    public Menu() {
        super();
    }

    /**
     * 父级
     * @return parentId 父级
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * 父级
     * @param parentId 父级
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * 菜单编码
     * @return menuCode 菜单编码
     */
    public String getMenuCode() {
        return menuCode;
    }

    /**
     * 菜单编码
     * @param menuCode 菜单编码
     */
    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode == null ? null : menuCode.trim();
    }

    /**
     * 菜单名称
     * @return menuName 菜单名称
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * 菜单名称
     * @param menuName 菜单名称
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    /**
     * 菜单URL
     * @return menuUrl 菜单URL
     */
    public String getMenuUrl() {
        return menuUrl;
    }

    /**
     * 菜单URL
     * @param menuUrl 菜单URL
     */
    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl == null ? null : menuUrl.trim();
    }

    /**
     * 菜单层级
     * @return menuLevel 菜单层级
     */
    public int getMenuLevel() {
        return menuLevel;
    }

    /**
     * 菜单层级
     * @param menuLevel 菜单层级
     */
    public void setMenuLevel(int menuLevel) {
        this.menuLevel = menuLevel;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

    public int getSortNum() {
        return sortNum;
    }

    public void setSortNum(int sortNum) {
        this.sortNum = sortNum;
    }
}